

export type BaseDefination = {
  id: string
}
export type TemplateDefination = {
  title: string
  desc: string
  thumbnail: string
} & BaseDefination


export type PageDefination = {
  title: string
  desc: string
  thumbnail: string
} & BaseDefination


export type PortalItem = {

  title: string
  type: string,
  name: string

}
export type PortalProperty = {
  type: string
  name: string
  render: string
  properties: Array<PortalItem>
}

export type PortalDefination = {
  title: string
  // desc: string
  type: string
  properties: PortalProperty
  // thumbnail: string
} & BaseDefination

export type TemplateSolution = {

  template: TemplateDefination
  page: PageDefination
  data: any
  portals: PortalDefination[]
  selectIds: string[]
}